<%@ page language="java" contentType="text/html; charset=GBK"
	pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head> 
<title>付款(new)</title> 
<LINK href="common/images/layout.css" type=text/css rel=stylesheet>
<style type="text/css"> 
.box{
	width:896px; height:396px; background:url(common/images/zjfkbj.gif) no-repeat; border-collapse:collapse;
}
.fong1{
	font-size:14px; color:#3393c9; font-weight: bold; line-height:35px; margin:0px; padding:0px;
}
.fong2{
	font-size:12px; color:#666;  line-height:15px; margin:0px; padding:0px;
}
.sj_inpt{
	border:solid 1px #d2d2d2; width:130px; line-height:18px; height:18px; float:left;
}
</style>
<SCRIPT language=JavaScript>
function CheckForm()
{
	if (document.rongpayment.rongorder.value.length == 0) {
		alert("商品名称不允许为空，请输入商品名称.");
		document.rongpayment.rongorder.focus();
		return false;
	}
	
	if (document.rongpayment.member_id.value.length == 0) {
		alert("会员id不允许为空，请输入会员id.");
		document.rongpayment.member_id.focus();
		return false;
	}
	
	if (document.rongpayment.buyer_contact.value.length == 0) {
		alert("会员手机号不允许为空，请输入会员手机号.");
		document.rongpayment.buyer_contact.focus();
		return false;
	}
	
	if (document.rongpayment.rongmoney.value.length == 0) {
		alert("请输入付款金额.");
		document.rongpayment.rongmoney.focus();
		return false;
	}
	var reg	= new RegExp(/^\d*\.?\d{0,2}$/);
	if (! reg.test(document.rongpayment.rongmoney.value))
	{
        alert("请正确输入付款金额");
		document.rongpayment.rongmoney.focus();
		return false;
	}
	if (Number(document.rongpayment.rongmoney.value) < 0.01) {
		alert("付款金额金额最小是0.01.");
		document.rongpayment.rongmoney.focus();
		return false;
	}

} 
</SCRIPT>
</head>
<BODY >
<FORM name=rongpayment onSubmit="return CheckForm();" action=rongpayto.jsp method=post target="_blank">
  <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="top">
   	  <table align="center" class="box">
          <tr>
            <td align="top" valign="top">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              
              <tr>
                <td align="center"><table width="80%" border="0" cellspacing="0" cellpadding="0" style="padding:5px; margin-top:50px;">
                
 					<tr>
                      <td height="40" align="right">会员id:</td>
                      <TD class=form-star>* </TD>
                      <td style="padding:5px;"><input type="text" name="member_id" value="Reapal"/></td>
                      <td>&nbsp;</td>
                    </tr> 
                    
                     <tr>
                      <td height="40" align="right">会员手机号:</td>
                      <TD class=form-star>* </TD>
                      <td style="padding:5px;"><input type="text" name="buyer_contact" value=""/></td>
                      <td>&nbsp;</td>
                    </tr>              
                    <TR>
                      <TD height="40" align="right">商品名称： </TD>
                      <TD class=form-star>* </TD>
                      <TD style="padding:5px;"><INPUT  name=subject maxlength="200"></TD>
                    </TR>
                    <tr>
                      <td height="40" align="right">商品描述:</td>
                      <TD class=form-star>* </TD>
                      <td style="padding:5px;"><input type="text" name="body" value=""/></td>
                      <td>&nbsp;</td>
                    </tr>
                      
                   
                    
                    <tr>
                      <td height="40" align="right">收货人:</td>
                      <TD class=form-star>* </TD>
                      <td style="padding:5px;"><input type="text" name="buyer_realname" value=""/></td>
                      <td>&nbsp;</td>
                    </tr>
                    
                     <tr>
                      <td height="40" align="right">付款金额:</td>
                      <TD class=form-star>* </TD>
                      <td style="padding:5px;"><input type="text" name="Rongmoney" value="1"/></td>
                      <td>&nbsp;</td>
                    </tr><%--
                    
                   
                    
                    --%><tr>
                      <td height="40" align="right">是否直连银行:</td>
                      <TD class=form-star>* </TD>
                      <td style="padding:5px;">
                        <input type="radio" id="default_bank" name="default_bank" onClick="on_hide();"/>是&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="radio" id="default_bank" name="default_bank" value="No" checked onClick="on_hide();"/>否
                      </td>
                      <td>&nbsp;</td>   
                    </tr>
                    
                    <tr>
                      <td height="40">&nbsp;</td>
                      <td style="padding:5px;">    	
                        <INPUT TYPE=image NAME="SUB" src="common/images/qrzfk.gif">
                        </td>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  <table>
                    <tr>
                      <td colspan="3">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="bank" style="display:none">
                          <tr>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="CMB"/></td>
                            <td width="10%"><img src="common/images/cmb.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="ICBC"/></td>
                            <td width="10%"><img src="common/images/icbc.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="CCB"/></td>
                            <td width="10%" align="left"><img src="common/images/ccb.png"/></td>
                           </tr>
                          <tr>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="BOC"/></td>
                            <td width="10%"><img src="common/images/boc.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="ABC"/></td>
                            <td width="10%"><img src="common/images/abc.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="BOCM"/></td>
                            <td width="10%" align="left"><img src="common/images/bankcomm.png"/></td>
                           </tr>
                          <tr>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="SPDB"/></td>
                            <td width="10%"><img src="common/images/spdb.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="CGB"/></td>
                            <td width="10%"><img src="common/images/gdb.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="CITIC"/></td>
                            <td width="10%" align="left"><img src="common/images/ecitic.png"/></td>
                           </tr>
                          <tr>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="CEB"/></td>
                            <td width="10%"><img src="common/images/ceb.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="CIB"/></td>
                            <td width="10%"><img src="common/images/cib.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="LITEPAY"/></td>
                            <td width="10%" align="left"><img src="common/images/LITEPAY.png"/></td>
                           </tr>
                          <tr>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="CMBC"/></td>
                            <td width="10%"><img src="common/images/cmbc.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="HXB"/></td>
                            <td width="10%"><img src="common/images/hxb.png"/></td>
                            <td width="5%" height="85" align="right"><input type="radio" name="default_bank" value="SPA"/></td>
                            <td width="10%" align="left"><img src="common/images/pingan.png"/></td>
                           </tr>
                        </table> 
                      </td>
                      
                    </tr>
                  </table>                </td>
              </tr>
              
            </table></td>
          </tr>
        </table>
        </td>
    </tr>
  </table>

</FORM>

</BODY>
</html>
<script language="javascript">
function on_hide()
{
	if(document.getElementById("default_bank").checked == true)
	{
		document.getElementById("bank").style.display = "block";
	}
	else
	{
		document.getElementById("bank").style.display = "none";
	}
}
</script>

